-
Notifications
You must be signed in to change notification settings - Fork 26
git tag remove #599
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
git tag remove #599
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull request overview
This PR adds documentation for removing Git tags, both from remote repositories and locally. The addition provides useful commands for bulk tag deletion operations.
- Adds a new section titled "GIT 如何删除remote中所有tag" (How to delete all tags in remote)
- Provides commands for deleting all remote tags using
git show-refwithawkandxargs - Includes a command for deleting all local tags using
git tag -lwithxargs
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
| [Git及GitHub教程](https://www.githubs.cn/post/git-tutorial) | ||
|
|
||
|
|
||
| ### GIT 如何删除remote中所有tag |
Copilot
AI
Nov 24, 2025
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The section heading has an inconsistency in formatting. Looking at the document structure, this new section should be placed before "## 参考教程" (line 287) rather than after it. The "参考教程" section appears to be a closing reference section, and new content sections should come before it.
|
|
||
|
|
||
| ``` | ||
| git show-ref --tag | awk '{print ":" $2}' | xargs git push mist-modules |
Copilot
AI
Nov 24, 2025
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The git command appears to reference a specific remote name 'mist-modules' which seems overly specific for a general documentation guide. This should either use a generic placeholder like 'origin' or include an explanation that users should replace 'mist-modules' with their actual remote name.
| git show-ref --tag | awk '{print ":" $2}' | xargs git push mist-modules | |
| git show-ref --tag | awk '{print ":" $2}' | xargs git push origin |
|
|
||
| ``` | ||
| git show-ref --tag | awk '{print ":" $2}' | xargs git push mist-modules | ||
| ``` |
Copilot
AI
Nov 24, 2025
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The description "删除本地所有tag" (Delete all local tags) is placed after the code block for deleting remote tags, which creates confusion. It should appear before its corresponding code block on line 299. The logical flow should be: description first, then the code block that implements that description.
| ``` |
No description provided.